package com.tbm.common.enums;

/**
 * Created by Administrator on 2017/8/21.
 */
public enum ResultEnums {
    INCORRECTCREDENTIALS(100,"USERERROR"),
    USERISLOCK(200,"ISLOCK"),
    USERISNULL(300,"USERNAMEORPASSWORDISNULL"),
    LOGINSUCCESS(400,"SUCCESS"),
    UNKOWNACCOUNT(400,"UNKOWNACCOUNT")
    ;

    private Integer code;
    private String msg;

    ResultEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
